<div class="information_inner2">
	<div class="go_back">
		<a href="<?php echo base_url().BASE; ?>join_as" title="<?php echo $static_info['go_back'] ?>"> </a>
	</div>
	<?php echo form_open(base_url().BASE.'join_as_submit', array('id' => 'join_as_form', 'autocomplete' => 'off')); ?>
	 <?php $this->session->set_userdata('new_data', $this->session->userdata('member_data')); 
		$join_data = $this->session->userdata('member_data');
		//var_dump($join_data);die;
		//$member_join = $this->session->userdata('member_type');?>	
		<div class="member_join_as_form">
			<?php echo $static_text['i_am'] ?>
			<input type="text" id="first_name" name="first_name" value="<?php  if(isset($member_data_input['first_name'])) echo  $member_data_input['first_name'];  else echo $join_data['first_name']; ?>" placeholder="First name" class="textfield content_pink pink"data-autosize-input='{ "space": 10 }'>
			<input type="text" id="lastname" name="last_name" value="<?php  if(isset($member_data_input['last_name'])) echo  $member_data_input['last_name'];  else echo $join_data['last_name']; ?>" placeholder="Last name" class="textfield content_blue blue"data-autosize-input='{ "space": 16 }'>
			<br>
			<?php echo $static_text['work_as'] ?> <span class="school content_pink"><?php if($this->session->userdata('member_data')) echo substr($join_data['school_1'], 0, 14).'..'; else echo $label['school']; ?></span>.
			<br>
			<?php echo $static_text['i_teach'] ?> <span class="subject content_blue"><?php if($this->session->userdata('member_data')) echo $join_data['subject_1']; else echo $label['subject']; ?></span>.
			<?php echo $static_text['i_teach_for'] ?> <span class="board content_pink"><?php if($this->session->userdata('member_data')) echo substr($join_data['board_1'], 0, 14).'..'; else echo $label['board']; ?></span> 
			<?php echo $static_text['for'] ?> <span class="classes content_blue"><?php if($this->session->userdata('member_data')) echo $join_data['class']; else echo $label['class']; ?></span>.
			<?php echo $static_text['i_am'] ?>
		</div>
		<!--select_subject starts-->
		<div class="select_subject">
			<div class="go_back">
				<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
	        </div>
			<?php echo $static_text['i_teach']; ?>
			<input type="text" id="subject_id" maxlength="100" name="subject_name" placeholder="Subjects" value="<?php if(isset($input_data['subject_name'])) echo $input_data['subject_name']; else echo $join_data["subject_1"]; ?>" class="textfield content_blue blue" data-autosize-input='{"space":10}' autocomplete="off">
			<input type="hidden" id="subject" name="subject" value="<?php if(isset($input_data['subject'])) echo $input_data['subject']; else echo $join_data["subject"]; ?>">
			<input type="hidden" id="subject_1" name="subject_1" value="<?php if(isset($input_data['subject_1'])) echo $input_data['subject_1']; else echo $join_data["subject_1"]; ?>">
			<div class="result_not_found" style="display:none;" id="result_not_found_subject"><a href="javascript:void(0);">
				<img src="<?php echo SKIN_URL_IMAGE;?>/submit.png"></a>
			</div>
			<br>
			<div id="subject_result">
			</div>
		</div>
		<!--select_subject closed-->
		<!--select_class starts-->
		<div class="select_class">
			<div class="go_back">
				<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
	        </div>
			<?php echo $static_text['classes_i_teach'] ?>
			<input type="hidden" value="<?php if(isset($input_data['class'])) echo $input_data['class']; else echo $join_data["class"]; ?>" id="class" name="class"><br>
			<?php echo $class_list ?>
		</div>
		<!--select_class closed-->
		<!--select_school starts-->
		<div class="select_school">
			<div class="go_back">
				<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
	        </div>
	        <?php echo $static_text['i_teach'].' '.$static_text['in']; ?>
			<input type="text" id="school_id" maxlength="100" name="school_name" placeholder="School" value="<?php if(isset($input_data['school_name'])) echo $input_data['school_name']; else echo $join_data["school_name"]; ?>" class="textfield content_pink pink" data-autosize-input='{"space":10}' autocomplete="off">
			<input type="hidden" id="school" name="school" value="<?php if(isset($input_data['school'])) echo $input_data['school']; else echo $join_data["school"]; ?>">
			<input type="hidden" id="school_1" name="school_1" value="<?php if(isset($input_data['school_1'])) echo $input_data['school_1']; else echo $join_data["school_1"]; ?>">
			<div class="result_not_found" style="display:none;" id="result_not_found_school"><a href="javascript:void(0);">
				<img src="<?php echo SKIN_URL_IMAGE;?>/submit.png"></a>
			</div><br>
			<div id="school_result">
			</div>         
		</div>
		<!--select_school closed-->
		<!--select_board starts-->
		<div class="select_board">
			<div class="go_back">
	        	<a href="javascript:void(0);" title="<?php echo $static_info['go_back'] ?>"> </a>
	        </div>
			<?php echo $label['school']; ?>
			<input type="text" value="<?php if(isset($input_data['board_name'])) echo $input_data['board_name']; else echo $join_data["board_name"]; ?>" id="board_id" name="board_name" maxlength="300" placeholder="Board"  class="textfield content_pink sreach_board pink" data-autosize-input='{"space":10}' autocomplete="off">
			<input type="hidden" id="board" name="board" value="<?php if(isset($input_data['board'])) echo $input_data['board']; else echo $join_data["board"]; ?>">
			<input type="hidden" id="board_1" name="board_1" value="<?php if(isset($input_data['board_1'])) echo $input_data['board_1']; else echo $join_data["board_1"]; ?>">
			<div class="result_not_found" style="display:none" id="result_not_found_board"><a href="javascript:void(0);">
				<img src="<?php echo SKIN_URL_IMAGE;?>/submit.png"></a>
			</div><br> 
	        <div id="board_result"></div> 
		</div>
		<!--select_board closed-->
		<!--member_join_as starts-->
		<?php $this->load->view('common/gender_nav'); ?>
		<!--member_join_as closed-->
		<!--add_more starts-->
		<div class="add_more">
			You can also add more <a href="#">Subjects</a>
		</div>
		<!--add_more closed-->
		<!--detailed_form starts-->
		<?php $this->load->view('common/detail_link'); ?>
		<input type="hidden" name="member_type" id="member_type" value="<?php if(isset($member_type)){ echo $member_type;} ?>"  />
	<?php echo form_close(); ?>
	<?php $this -> load -> view('common/error_msg'); ?>
	<!--detailed_form closed-->
</div>